﻿@inherits Kaleido.Util.Mvc.DynamicViewPage
@{
    /* AUTO FLUSH CACHE SYSTEM */
    var["autoFlush"] = false;
    var["autoFlushPlugins"] = false;
    var["compressJS"] = false;
    var["compressCSS"] = false;

    /* LITE VERSION - no compressing system included */
    var["cssFiles"] = merge(var["cssFiles"], var["cssPluginsArray"]);
    var["jsFiles"] = merge(var["jsPluginsArray"], var["jsFiles"]);

    /*CSS COMPRESS*/
    var["css"] = "";
    foreach (var cssFile in var["cssFiles"])
    {
        var["css"] += "<link rel=\"stylesheet\" type=\"text/css\" href=\"'.$cssFile.'\" />";
    }

    /*JAVASCRIPT COMPRESS*/
    var["js"] = "";
    foreach (var jsFile in var["jsFiles"])
    {
        var["js"] += "<script type=\"text/javascript\" src=\"" + jsFile + "\"></script>";
    }
    
}
